package com.haierp.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.haierp.dto.TaskDailyDTO;
import com.haierp.model.ErpOrder;
import com.haierp.model.TaskDaily;
import com.haierp.vo.PurchaseQueryVO;
import com.haierp.vo.TaskDailyVO;

/**
 * @author zhulu
 */
public interface TaskDailyMapper extends AutoMapper<TaskDaily>{
	Integer queryTaskCount(TaskDailyDTO taskDailyDTO);
	
	List<TaskDailyVO> queryTaskDaily(TaskDailyDTO taskDailyDTO);
		
	Integer queryTaskDailyCount(PurchaseQueryVO purchaseQueryVO);
	
	List<TaskDaily> queryTaskDailyList(PurchaseQueryVO purchaseQueryVO);
	
	void closeTaskDaily(@Param("taskDailyIdList")List<Long> taskDailyIdList);
	
	void finishTaskDaily(@Param("taskDailyIdList")List<Long> taskDailyIdList);
	
	List<Long> queryTaskDailyCloseIds();
	
	List<String> queryTaskDailyBuySites();
}
